package com.wy.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 * goods_logistics
 * @author 
 */
@Data
public class GoodsLogistics implements Serializable {
    /**
     * 物流id
     */
    @TableId
    private String logisticsId;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 当前地点
     */
    private String currentLocation;

    /**
     * 发货时间
     */
    private LocalDateTime deliveryTime;

    /**
     * 收货时间
     */
    private LocalDateTime receivingTime;

    /**
     * 发货状态（1待发货 2已发货待收货 3已收货）默认1
     */
    private String status;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 物流公司
     */
    private String logisticsName;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    private static final long serialVersionUID = 1L;
}